package model

/**
 * 大本营
 *
 * */
class Camp {

    fun create():ArrayList<IView>{
        var list=ArrayList<IView>()

        /** 围墙 */
        list.add(Wall(GameConfig.WINDOW_WIDTH/2-GameConfig.SMALL_BLOCK_WIDTH*2,GameConfig.WINDOW_HEIGHT-GameConfig.SMALL_BLOCK_WIDTH*1))
        list.add(Wall(GameConfig.WINDOW_WIDTH/2-GameConfig.SMALL_BLOCK_WIDTH*2,GameConfig.WINDOW_HEIGHT-GameConfig.SMALL_BLOCK_WIDTH*2))
        list.add(Wall(GameConfig.WINDOW_WIDTH/2-GameConfig.SMALL_BLOCK_WIDTH*2,GameConfig.WINDOW_HEIGHT-GameConfig.SMALL_BLOCK_WIDTH*3))
        list.add(Wall(GameConfig.WINDOW_WIDTH/2-GameConfig.SMALL_BLOCK_WIDTH*1,GameConfig.WINDOW_HEIGHT-GameConfig.SMALL_BLOCK_WIDTH*3))
        list.add(Wall(GameConfig.WINDOW_WIDTH/2-GameConfig.SMALL_BLOCK_WIDTH*0,GameConfig.WINDOW_HEIGHT-GameConfig.SMALL_BLOCK_WIDTH*3))
        list.add(Wall(GameConfig.WINDOW_WIDTH/2+GameConfig.SMALL_BLOCK_WIDTH*1,GameConfig.WINDOW_HEIGHT-GameConfig.SMALL_BLOCK_WIDTH*3))
        list.add(Wall(GameConfig.WINDOW_WIDTH/2+GameConfig.SMALL_BLOCK_WIDTH*1,GameConfig.WINDOW_HEIGHT-GameConfig.SMALL_BLOCK_WIDTH*2))
        list.add(Wall(GameConfig.WINDOW_WIDTH/2+GameConfig.SMALL_BLOCK_WIDTH*1,GameConfig.WINDOW_HEIGHT-GameConfig.SMALL_BLOCK_WIDTH*1))

        /** 大本营里面的鹰*/
        list.add(Eagle(GameConfig.WINDOW_WIDTH/2-GameConfig.SMALL_BLOCK_WIDTH*1,GameConfig.WINDOW_HEIGHT-GameConfig.SMALL_BLOCK_WIDTH*2))
        return list
    }

}